package com.shenhaofeng.app.download;

import java.io.File;


/**
 * Created by Administrator on 2016/9/14.
 */
public class DownloadResult {

    private String url;
    private File file;
    private long size;


    public DownloadResult(String url, File file, long size) {
        this.url = url;
        this.file = file;
        this.size = size;
    }


    public String getUrl() {
        return url;
    }


    public File getFile() {
        return file;
    }


    public long getSize() {
        return size;
    }


    @Override
    public String toString() {
        return "DownloadResult{" +
                "size=" + size +
                ", file=" + file +
                ", url='" + url + '\'' +
                '}';
    }
}
